package com.suray.attendance.common.utils;

/**
 * 日志类型
 */
public enum LoggerType {
    TEST(0,"测试数据"),
    INFO(1,"基本信息"),
    WARN(2,"警告信息"),
    ERROR(3, "故障信息"),
    DEBUG(4, "调试信息"),
    PROCESS(10,"流程信息"),
    TASK(11,"任务"),
    ACTION(12,"指令"),
    LOCK(20, "锁"),
    STATUS_INFO(21, "状态信息");

    int value;
    String des;
    LoggerType (int value, String des) {
        this.value = value;
        this.des = des;
    }

    public String getDes() {
        return des;
    }

    public int getValue() {
        return value;
    }

    @Override
    public String toString() {
        return des;
    }
}
